package object;

/**
 * @Author: Miyako
 * @Date: 2024-07-12-17:37
 * @Description:
 */
public class IntegerDemo2 {
    public static void main(String[] args) {
        int imax = Integer.MAX_VALUE;
        String str = "123";
        String str1 = "12356569999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999465645645645646499999999999999999999999999999999999999999999999999999999999999999999999999999999";
        int a = Integer.parseInt(str);
        System.out.println(a);
        double dd = Double.parseDouble(str1);
        System.out.println(dd);
        int imin = Integer.MIN_VALUE;
        long lmax = Long.MAX_VALUE;
        double dmax = Double.MAX_VALUE;
        System.out.println(imax+"\n"+imin+"\n"+lmax+"\n"+dmax);
    }
}
